package com.campus.commons.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 请假表（向班主任请假 ）
 * </p>
 *
 * @author Rin
 * @since 2020-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="AskOff对象", description="请假表（向班主任请假 ）")
public class AskOff implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "请假人")
    @TableField("studentId")
    private Integer studentid;

    @ApiModelProperty(value = "请假内容")
    @TableField("askContent")
    private String askcontent;

    @ApiModelProperty(value = "请假的发起时间")
    @TableField("createTime")
    private Date createtime;

    @ApiModelProperty(value = "请假的开始时间")
    @TableField("startTime")
    private Date starttime;

    @ApiModelProperty(value = "请假的结束时间")
    @TableField("endTime")
    private Date endtime;

    @ApiModelProperty(value = "请假的状态（1.未处理 ，2.同意  3.不同意）")
    private Integer state;

    @ApiModelProperty(value = "请假类型 1.学社请假 2.课程请假")
    @TableField("askType")
    private Integer asktype;

    @ApiModelProperty(value = "审批人")
    @TableField("userId")
    private Integer userid;

    @ApiModelProperty(value = "驳回的理由")
    private String argument;


}
